package com.pi.dc.model;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

public class DcBedStatusPostForm {
  @NotBlank(message="DC_DEVICE.DEVICE_CODE_EMPTY")
  @Length(min = 1, max = 40, message="DC_DEVICE.DEVICE_CODE_LENGTH_ILLGAL")
  private String deviceCode;                   //设备编号
  
  private Integer           relativeHumidity;   // 相对湿度 
  private Integer           temperature;        // 温度 
  private Integer           batteryStatus;      // 电量 
  public String getDeviceCode() {
    return deviceCode;
  }
  public void setDeviceCode(String deviceCode) {
    this.deviceCode = deviceCode;
  }
  public Integer getRelativeHumidity() {
    return relativeHumidity;
  }
  public void setRelativeHumidity(Integer relativeHumidity) {
    this.relativeHumidity = relativeHumidity;
  }
  public Integer getTemperature() {
    return temperature;
  }
  public void setTemperature(Integer temperature) {
    this.temperature = temperature;
  }
  public Integer getBatteryStatus() {
    return batteryStatus;
  }
  public void setBatteryStatus(Integer batteryStatus) {
    this.batteryStatus = batteryStatus;
  }
}
